package com.park.model;

public class Device {
	private Body body;
	private String cmd;
	public Body getBody() {
		return body;
	}
	public void setBody(Body body) {
		this.body = body;
	}
	public String getCmd() {
		return cmd;
	}
	public void setCmd(String cmd) {
		this.cmd = cmd;
	}
	

class Body{
	private String parkID;
	
	private String time;

	private String deviceID;

	private String battary;

	private String errcode;

	private String parkingStatu;

	private String token;

	public void setParkID(String parkID){
		this.parkID = parkID;
	}
	public String getParkID(){
		return this.parkID;
	}
	public void setTime(String time){
		this.time = time;
	}
	public String getTime(){
		return this.time;
	}
	public void setDeviceID(String deviceID){
		this.deviceID = deviceID;
	}
	public String getDeviceID(){
		return this.deviceID;
	}
	public void setBattary(String battary){
		this.battary = battary;
	}
	public String getBattary(){
		return this.battary;
	}
	public void setErrcode(String errcode){
		this.errcode = errcode;
	}
	public String getErrcode(){
		return this.errcode;
	}
	public void setParkingStatu(String parkingStatu){
		this.parkingStatu = parkingStatu;
	}
	public String getParkingStatu(){
		return this.parkingStatu;
	}
	public void setToken(String token){
		this.token = token;
	}
	public String getToken(){
		return this.token;
	}
	@Override
	public String toString() {
		return "Body [parkID=" + parkID + ", time=" + time + ", deviceID=" + deviceID + ", battary=" + battary
				+ ", errcode=" + errcode + ", parkingStatu=" + parkingStatu + ", token=" + token + "]";
	}
}

}
